<%@page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>带参数的forward动作标记2</title>
</head>
<body bgcolor="#00ffff">
<%
    //获取重定向传递过来的数据
    String name=request.getParameter("username");
    String pw=request.getParameter("password");
    //
    out.println("您的用户名是："+name);
    out.println("您的密码是："+pw);
%>
</body>
</html>